/* pages/device/components/drawer.wxss */
@import '/assets/css/vStyle.wxss';

.vAlert {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    .mask {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background: rgba(255, 255, 255, .1);
        backdrop-filter: blur(4rpx);
        opacity: 0;
        transition: all .3s;
    }

    .alertMain {
        background: #fff;
        margin: 0 auto;
        position: relative;
        border-radius: 20rpx;
        border: #058aff 4rpx solid;
        border-radius: 24rpx;
        overflow: hidden;
        transform: translateY(-20px);
        transition: all .3s;
        z-index: 9;
        .message{
            padding: 48rpx 0;
            text-align: center;
        }
        &.noBorder{
            border:none;
        }
    }

    .alertFooter {
        border-top: #eee 1px solid;
        .buttonList {
            display: flex;
            .button {
                width: 50%;
                text-align: center;
                height: 48rpx;
                padding: 24rpx;
                &.primary{
                    color: #058aff;
                }
            }
        }

    }

    &.show {
        opacity: 1;
        visibility: visible;

        .mask {
            opacity: 1;
        }

        .alertMain {
            transform: none;
        }
    }
}